//
// Created by Nasa on 2024/2/20.
//


#include<iostream>
#include<vector>
#include "arrUtil.h"

using namespace std;


int main()
{
    vector<int> l = {6, 4, 3, 8, 0};
    randVector(l,1000);
    int j, n;
    for (int i = 1; i < l.size(); ++i)
    {
        j = i;
        n = l[i];
        while (l[j - 1] > n && j > 0)
        {
            l[j] = l[j - 1];
            j--;
        }
        l[j] = n;
    }
//    for (int i = 0; i < l.size(); ++i)
//    {
//        cout << l[i] << ' ';
//    }
    cout<<checkSortVector(l);
    return 0;
}
